package com.ckx.blog;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


@SpringBootApplication(scanBasePackages = "com.ckx")
@MapperScan("com.ckx.mapper")
@EnableScheduling //在配置类中 开启定时任务
@EnableSwagger2 //开启文档
public class CkxBlogApplication {

    public static void main(String[] args) {

        ConfigurableApplicationContext run = SpringApplication.run(CkxBlogApplication.class, args);

    }

}
